import java.util.Date;

public class Yogurt extends Product{

    String type;
    String diluteConcentration;

    public Yogurt(String code, String description, double price, Date productionDate, String shelfLife, String type, String diluteConcentration) {
        super(code, description, price, productionDate, shelfLife);
        this.type = type;
        this.diluteConcentration = diluteConcentration;
    }

    public String getType() {
        return type;
    }

    public String getDiluteConcentration() {
        return diluteConcentration;
    }

    @Override
    public String toString() {
        return "Yogurt{" +
                "type='" + type + '\'' +
                ", diluteConcentration='" + diluteConcentration + '\'' +
                ", code='" + code + '\'' +
                ", description='" + description + '\'' +
                ", price=" + price +
                ", productionDate=" + productionDate +
                ", shelfLife='" + shelfLife + '\'' +
                '}';
    }
}
